var express = require("express");
var router = express.Router();
var bug = require("../service/statistics/index");
let jwt = require("jsonwebtoken");
let userService = require("../service/userService");
//引入一个文件夹  默认就是引入该文件夹中的index文件


router.get('/group',async (req,res,next)=>{
    //验证token
    let  result = await bug.group();//分组的接口
    res.json({
      code:1,
      result
    })
  
  })

module.exports = router;
